package org.jeecg.modules.wmhb.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 采购任务书BOM
 * @Author: jeecg-boot
 * @Date:   2024-08-31
 * @Version: V1.0
 */
@Data
@TableName("wm_purchase_taskbook_bom")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wm_purchase_taskbook_bom对象", description="采购任务书BOM")
public class WmPurchaseTaskbookBom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**任务书ID*/
	@Excel(name = "任务书ID", width = 15)
    @ApiModelProperty(value = "任务书ID")
    @Dict(dictTable = "wm_taskbook", dicText = "name", dicCode = "id")
    private java.lang.String wmTaskbookId;
    /**任务书*/
    @Excel(name = "任务书", width = 15)
    @ApiModelProperty(value = "任务书")
    @TableField(exist = false)
    private WmTaskbook wmTaskbook;
    /**任务ID*/
    @Excel(name = "任务ID", width = 15)
    @ApiModelProperty(value = "任务ID")
    @Dict(dictTable = "wm_task", dicText = "name", dicCode = "id")
    private java.lang.String wmTaskId;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15)
    @ApiModelProperty(value = "物料名称")
    private java.lang.String name;
	/**物料编码*/
	@Excel(name = "物料编码", width = 15)
    @ApiModelProperty(value = "物料编码")
    private java.lang.String code;
	/**物料需求数量*/
	@Excel(name = "物料需求数量", width = 15)
    @ApiModelProperty(value = "物料数量")
    private java.lang.Double quantity;
    /**序号*/
    @Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private java.lang.String unitOfMeasure;
    /**序号*/
    @Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private java.lang.String specification;
    /**产品物料标识*/
    @Excel(name = "产品物料标识", width = 15, dicCode = "item_or_product")
    @Dict(dicCode = "item_or_product")
    @ApiModelProperty(value = "产品物料标识")
    private java.lang.String itemOrProduct;
	/**序号*/
	@Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private java.lang.String seriesNo;
	/**采购开始时间*/
	@Excel(name = "采购开始时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "采购开始时间")
    private java.util.Date purchaseTime;
	/**物料到货时间*/
	@Excel(name = "物料到货时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "物料到货时间")
    private java.util.Date arriveTime;
	/**物料领取时间*/
	@Excel(name = "物料领取时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "物料领取时间")
    private java.util.Date consumeTime;
	/**收货人*/
	@Excel(name = "收货人", width = 15)
    @ApiModelProperty(value = "收货人")
    private java.lang.String receiveBy;
	/**发货人*/
	@Excel(name = "发货人", width = 15)
    @ApiModelProperty(value = "发货人")
    private java.lang.String sendBy;
	/**发货时间*/
	@Excel(name = "发货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发货时间")
    private java.util.Date sendTime;
	/**物流单号*/
	@Excel(name = "物流单号", width = 15)
    @ApiModelProperty(value = "物流单号")
    private java.lang.String logisticsNo;
	/**物流公司*/
	@Excel(name = "物流公司", width = 15)
    @ApiModelProperty(value = "物流公司")
    private java.lang.String logisticsCompany;
	/**发货目的地*/
	@Excel(name = "发货目的地", width = 15)
    @ApiModelProperty(value = "发货目的地")
    private java.lang.String destination;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String file;
	/**租户*/
	@Excel(name = "租户", width = 15)
    @ApiModelProperty(value = "租户")
    private java.lang.String tenantId;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
    /**是否包含电气*/
    @Excel(name = "是否包含电气", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    @ApiModelProperty(value = "是否包含电气")
    private java.lang.String isContainElectric;
    /**是否包含控制*/
    @Excel(name = "是否包含控制", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    @ApiModelProperty(value = "是否包含控制")
    private java.lang.String isContainControl;
    /**是否包含安装*/
    @Excel(name = "是否包含安装", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    @ApiModelProperty(value = "是否包含安装")
    private java.lang.String isContainInstall;
    /**是否包含调试*/
    @Excel(name = "是否包含调试", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    @ApiModelProperty(value = "是否包含调试")
    private java.lang.String isContainDebug;
    /**是否含安装主材*/
    @Excel(name = "是否含安装主材", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    @ApiModelProperty(value = "是否含安装主材")
    private java.lang.String isContainMainMaterial;
    /**是否含安装辅材*/
    @Excel(name = "是否含安装辅材", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    @ApiModelProperty(value = "是否含安装辅材")
    private java.lang.String isContainAssistMaterial;
    /**是否直发*/
    @Excel(name = "是否直发", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    @ApiModelProperty(value = "是否直发")
    private java.lang.String isSendDirect;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**删除者*/
	@Excel(name = "删除者", width = 15)
    @ApiModelProperty(value = "删除者")
    private java.lang.String deleteBy;
	/**删除时间*/
	@Excel(name = "删除时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "删除时间")
    private java.util.Date deleteTime;
}
